package ${webPackageName}.schedule;

import org.springframework.stereotype.Component;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;

/**
 * 任务调度demo
 * @author lizihao
 *
 */
@Component
public class MySchedule {

	@XxlJob("myFristJob")
    public ReturnT<String> myFristJob(String param) throws Exception {
		System.out.println("参数:"+param);
		 return ReturnT.SUCCESS;
	}
}
